package com.youi.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;

import com.youi.entity.Leaderprofit;
import com.youi.entity.vo.LeaderprofitdetailVo;

public interface LeaderprofitdetailVoService {

	/**
	 * 查询资金流水列表
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public List<LeaderprofitdetailVo> getLeaderprofitdetailVoList(String start,String end,String orderNo,String phone,String pms,Integer pageIndex, Integer pageNum);
	
	/**
	 * 查询资金流水列表
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Integer getLeaderprofitdetailVoCount(String start,String end,String orderNo,String phone,String pms);
	
	/**
	 * 导出佳选官资金流水
	 * @param request
	 * @param leaderprofitdetailVoList
	 * @return
	 */
	public String toExcelLeaderprofitdetailVo(HttpServletRequest request,List<LeaderprofitdetailVo> leaderprofitdetailVoList);
	
	/**
	 * 查询资金流水汇总
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Leaderprofit getLeaderprofitdetailSum();
	
	/**
	 * 查询资金流水列表
	 * @param start
	 * @param end
	 * @param orderNo
	 * @param phone
	 * @param pms
	 * @return
	 */
	public Double getLeaderprofitdetailByType(Integer type,String start,String end,String orderNo,String phone,String pms);

}
